package com.itheima.thread.Demo7_生产者消费者案例优化;

public class Demo7 {
    public static void main(String[] args) {
        Desk desk = new Desk();
        Cooker c = new Cooker(desk);
        Foodie f = new Foodie(desk);

        c.start();
        f.start();
    }
}
